package com.ruoyi.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 我的优惠券对象 mobile_user_coupon
 *
 * @author ruoyi
 * @date 2024-06-14
 */
@Data
@TableName("mobile_user_coupon")
public class MobileUserCoupon {

private static final long serialVersionUID = 1L;

    /** ID  */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 用户ID */
    private Long userId;
    @TableField(exist = false)
    @Excel(name = "用户姓名")
    private String userName;

    @TableField(exist = false)
    @Excel(name = "手机号")
    private String phoneNumber;

    /** 参展商ID */
    private Long exhibitorsId;

    /** 优惠券状态0：未领取 1：未核销 2：已核销 */
    @Excel(name = "优惠券状态")
    private String status;

    /** 优惠券 */
    @Excel(name = "优惠券")
    private String couponQrCode;

    private Date createTime;
    private Date updateTime;

    private String createBy;
    private String updateBy;

}